import { HttpException, HttpStatus } from '@nestjs/common';

export class MyHttpException extends HttpException {
  constructor(message, code?) {
    super({ code, message }, HttpStatus.OK);
  }
}
